project(array)

set(CMAKE_MODULE_PATH ${CMAKE_ROOT}/Modules ${PROJECT_SOURCE_DIR}/modules)

cmake_minimum_required(VERSION 2.4 FATAL_ERROR)
aux_source_directory(. DIR_SRCS)
add_executable(${PROJECT_NAME} ${DIR_SRCS})

find_package(glib2 REQUIRED)

mark_as_advanced(
        glib2_INCLUDE_DIRS
	glib2_LIBRARIES
	)
include_directories(${glib2_INCLUDE_DIRS})
target_link_libraries(${PROJECT_NAME} ${glib2_LIBRARIES})
